<?php

require_once 'ActionFramework/start.php';
require_once 'views/all.cls.php';

/**
 * Edit the criteria and return to the edit criteria view.
 */
class EditPasswordAction extends Action {
	
	// No fields required 
	
	public function trigger($request) {
		global $DB;
		list($challenge_id, $challenge) = $DB->create_challenge();
		return new EditPasswordView($challenge_id, $challenge);
	}
}

?>